<template>
	<view>
		<web-view :src="url"></web-view>
	</view>

</template>

<script>
	export default {
		data() {
			return {
				url: ''
			}
		},
		onLoad(options) {
			let _title = '隐私政策'
			this.url='https://www.yoojet.com/Privacys.html'
			if (options.Type == 1) {
				_title = '服务协议'
				this.url='https://www.yoojet.com/Article_.html'
			}
			uni.setNavigationBarTitle({
				title: _title
			});
		},
		methods: {

		}
	}
</script>